-- GENERATED SPELL FOR [Crazed Murkblood Miner] --


function spell0_23324(pUnit, Event) --@Frenzy,Self--
pUnit:FullCastSpellOnTarget(40743,pUnit)
pUnit:RegisterEvent('Sorts_23324', 30269, 1)
end

function Sorts_23324(pUnit, Event)
local choix_sorts_23324 = math.random(0, 0)
if choix_sorts_23324 == 0 then
pUnit:RegisterEvent('spell0_23324', 1, 1)
end
end

function mob23324_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23324', math.random(1500, 3000), 1)
end

function mob23324_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23324_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23324_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23324, 1, 'mob23324_Action')
RegisterUnitEvent(23324, 2, 'mob23324_Leave')
RegisterUnitEvent(23324, 3, 'mob23324_Kill')
RegisterUnitEvent(23324, 4, 'mob23324_Die')
